<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../header.jsp"%>
<html:link renderURL='/message.do' var='messageURL' />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<script>
function showLocation(){
	if(${!v3x:currentUser().admin}){
		if(${param.fromModel != 'top'}){
			var html = "<i class='vportal vp-personal'></i>";
			html += "<span class='nowLocation_content'>";
			html += "<a class=\"hand\" onclick=\"showMenu('${pageContext.request.contextPath}/personalAffair.do?method=personCenter&read=myConfig${v3x:csrfSuffix()}')\"><fmt:message key='menu.personal.affair' bundle='${v3xMainI18N}'/></a>";
			html += " &gt; <a class=\"hand\" onclick=\"javascript:window.mainIframe.refreshIt();\"><fmt:message key='message.setting.title' bundle='${v3xMainI18N}'/></a>";
			html += "</span>";
			getA8Top().showLocation(html);
		}
	}
}
</script>
<body scroll="no" onload="setDefaultTab(0);showLocation();">
  <table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
    <tr>
      <td valign="bottom" height="26" style="height:27px;">
          <div class="tab-separator"></div>
          <div id="menuTabDiv" class="clearfix" style="border-bottom:1px solid #1F85EC; height: 26px;*height: 25px;">
          <c:forEach items="${allTypes}" var="t">
            <div class="tab-tag-left"></div>
            <!-- shkk 去除邮件消息设置按钮 start -->
            <%-- shkk 去除c:if 还原 --%>
            <c:if test="${t.name != 'email'}">
            	<div class="tab-tag-middel" onclick="javascript:changeMenuTab(this);" url="${messageURL}?method=showMessageSettingDetail&messageType=${t.name}&fromModel=${v3x:toHTML(param.fromModel)}">${t.showName}</div>
            </c:if>
            <!-- shkk end -->
            <div class="tab-tag-right"></div>
            <div class="tab-separator"></div>
          </c:forEach>
          </div>
      </td>
    </tr>
    <tr>
      <td valign="top" width="100%" height="100%">
        <iframe width="100%" height="100%" id="detailIframe" frameborder="0" src="" />
      </td>
    </tr>
  </table>
</body>
</html>